package com.group9.mapper;

import com.group9.pojo.FruitCart;
import com.group9.pojo.FruitCartExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface FruitCartMapper {
    int countByExample(FruitCartExample example);

    int deleteByExample(FruitCartExample example);

    int deleteByPrimaryKey(Integer cartId);

    int insert(FruitCart record);

    int insertSelective(FruitCart record);

    List<FruitCart> selectByExample(FruitCartExample example);

    FruitCart selectByPrimaryKey(Integer cartId);

    int updateByExampleSelective(@Param("record") FruitCart record, @Param("example") FruitCartExample example);

    int updateByExample(@Param("record") FruitCart record, @Param("example") FruitCartExample example);

    int updateByPrimaryKeySelective(FruitCart record);

    int updateByPrimaryKey(FruitCart record);
}